package com.gkr.shopping.service;

import javax.servlet.http.HttpServletRequest;

import com.gkr.shopping.bean.User;

public interface UserService {
	//根据用户输入的账号以及密码获取用户的信息
	User findUserByNameAndPass(User user);

	String validLoginName(String loginName);
	//用户注册
	void saveUser(User user,HttpServletRequest request);
	//用户信息激活
	String active(String activeCode);

}
